<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
	</head>
	<body>
		<iframe id="myEditer" width="80%" height="550px">
			
		</iframe> 
		<button id="bold">加粗</button>
	</body>
	<script  type="text/javascript" charset="utf-8">
		
		 document.getElementById("myEditer").contentWindow.document.designMode="on";
	</script>
</html>
